﻿namespace XSTDZ.ERP.Domain.Repositories
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.Data.Common;
    using System.Data.Entity;
    using System.Data.Entity.ModelConfiguration;
    using System.Data.Entity.Infrastructure;
    using XSTDZ.ERP.Domain.Models;

    internal partial class UsualFinance_Mapping : EntityTypeConfiguration<UsualFinance>
    {
        public UsualFinance_Mapping()
        {					
    		this.HasKey(t => t.Id);
            this.ToTable("T_FI_UsualFinance");
            this.Property(t => t.Id).HasColumnName("UsualFinance_ID");
            this.Property(t => t.OrgID).HasColumnName("OrgID");
            this.Property(t => t.BillState).HasColumnName("BillState");
            this.Property(t => t.Deleted).HasColumnName("Deleted");
            this.Property(t => t.CreateID).HasColumnName("CreateID");
            this.Property(t => t.CreateTime).HasColumnName("CreateTime");
            this.Property(t => t.UpdateID).HasColumnName("UpdateID");
            this.Property(t => t.UpdateDate).HasColumnName("UpdateDate");
            this.Property(t => t.Remarks).HasColumnName("Remarks");
    	}
    }
}
